﻿using System.Collections.Generic;
using System.Web.Mvc;
using MvcContrib.Pagination;
using SinBiota.Model.Entities;
using Sinbiota.Web.Controllers;

namespace Sinbiota.Web.Models
{
    public class LogListModel
    {
        public IPagination<Log> Logs { get; private set; }
        public IEnumerable<SelectListItem> LogLevels { get; private set; }
        public int SelectedLevel { get; set;}

        public LogListModel(IPagination<Log> logs, IEnumerable<SelectListItem> levels, int selectedLevel)
        {
            Logs = logs;
            LogLevels = levels;
            SelectedLevel = selectedLevel;
        }
    }

}